#include "RegisterLua.h"
#include "DeviceDriver.h"

static const struct luaL_Reg DeviceDriver [] = {
		{"Open",Open},
		{"Close",Close},
		{"Read",Read},
		{"Write",Write},
		{NULL,NULL}
};


int luaopen_Library_DeviceDriver_DeviceDriver_lib(lua_State *L){
		luaL_register(L,"DeviceDriver",DeviceDriver);
		return 1;
}